package com.lc.projects.design.pattern.proxy.jdkproxy;

import com.lc.projects.design.pattern.proxy.jdkproxy.jdkproxy.BookFacadeImpl;
import com.lc.projects.design.pattern.proxy.jdkproxy.jdkproxy.BookFacadeProxy;
import com.lc.projects.design.pattern.proxy.jdkproxy.jdkproxy.BookFacadeService;

public class TestProxy {
	public static void main(String[] args) {
		BookFacadeProxy proxy = new BookFacadeProxy();
		BookFacadeService bookProxy = (BookFacadeService) proxy.bind(new BookFacadeImpl());
		bookProxy.addBook();
	}
}
